package org.liveboardgames.agricola.view.component
{
    
    public class ImageHandler
    {
        public static const IMAGE_ROOT_PATH:String = ROOT + IMAGE;
        
        public static const RESOURCES_ROOT_PATH:String = IMAGE_ROOT_PATH + "resources/";
        
        public static const FARM_ELEMENTS_ROOT_PATH:String = IMAGE_ROOT_PATH + "common/farm/";
        
        public static const THREE_PLAYERS_FAMILY:String = IMAGE_ROOT_PATH + FAMILY + ACTION_CARDS + THREE_PLAYERS;
        public static const FOUR_PLAYERS_FAMILY:String = IMAGE_ROOT_PATH + FAMILY + ACTION_CARDS + FOUR_PLAYERS;
        public static const FIVE_PLAYERS_FAMILY:String = IMAGE_ROOT_PATH + FAMILY + ACTION_CARDS + FIVE_PLAYERS;
        
        public static const ACTIONS:String = IMAGE_ROOT_PATH + COMMON + ACTION_CARDS;
        
        public static const MAJOR_IMPROVEMENTS:String = IMAGE_ROOT_PATH + COMMON + MAJOR_IMPROVEMENT_CARDS;
        
        /** TODO: compute this depending on the total board size. */
        public static const RESOURCE_SIZE:Number = 60;
        
        /** TODO: compute this depending on the total board size. */
        public static const PEEP_SIZE:Number = 50;
        
        private static const ROOT:String = "assets/";
        
        private static const IMAGE:String = "images/";
        
        private static const FAMILY:String = "family/";
        
        private static const COMMON:String = "common/";
        
        private static const ACTION_CARDS:String = "actioncards/";
        
        private static const MAJOR_IMPROVEMENT_CARDS:String = "majorimprovements/";
        
        private static const THREE_PLAYERS:String = "3/";
        private static const FOUR_PLAYERS:String = "4/";
        private static const FIVE_PLAYERS:String = "5/";
    
    }
}